Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Script to obtain meeting state and mute state from mutesync application (www.mutesync.com) | |
; This script will create 2 binary_sensor entities in Home Assistant; one for mute status and one for in_meeting status | |
; | |
; To obtain the status from Mutesync, a token must be obtained from the Mutesync application. | |
; 1. Choose mutesync preferences, authentication tab, and check "allow external app" | |
; 2. Open a browser and navigate to http://127.0.0.1:8249/authenticate | |
; 3. Copy the 16-character token and paste it into this next line between the quotes. | |
msToken := "ABCDEFGHIJKLMNOP" | |
; For communicating with Home Assistant, a long-lived access token is needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Cloudflare" : [ | |
{ | |
"ip" : "1.1.1.1" | |
}, | |
{ | |
"ip": "1.0.0.1" | |
} | |
], | |
"Namecheap": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use Windows repair disc to run Startup Repair | |
# update grub config file for EFI system | |
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg # Fedora | |
sudo update-grub # Ubuntu | |
# if grub doesn't find Windows Boot Manager | |
# find EFI partition (could be on sdb, sdc, etc if you have more than one hard drive) | |
gdisk -l /dev/sda | |
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
- Download WSL2 Kernel
- run
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.
As part of Java 8 new features, lambda expressions are now supported (Project Lambda). See this very easy-to-read article from Brian Goetz State of the Lambda but more importantly focusing more on streams: State of the Lambda: Libraries Edition
// From parameters
NewerOlder